//
// Created by Administrator on 2021/9/15.

#include <stdio.h>
void rabbit(){
    int fresh_rabbit = 0;
    int mature_rabbit = 1;
    int rabbit_can_bron = 0;
    for(int month = 0; month < 12;month ++){
        //成年兔子开始具备生育能力
        rabbit_can_bron += mature_rabbit;
        //新生兔子长成熟了
        mature_rabbit = fresh_rabbit;
        //成年兔子生育了
        fresh_rabbit = rabbit_can_bron;
    }
    printf("after 12 month, we get %d pair of rabbits\n",(rabbit_can_bron + mature_rabbit ));
}

